﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assessment.Management.SharedComponent.Params.MenuManagers;
using Assessment.Management.SharedComponent.Entities;

namespace Assessment.Management.DAO.MenuManagers
{
    public class MenuDao
    {
        //InfoDataContext db = new InfoDataContext();
        public void GetMenuManagers(MenuManagersParam param)
        {
            //var query = (from o in db.MenuManagers
            //             where o.MenuParentID == null
            //             select o).ToList();

            //List<MenuManager> list = new List<MenuManager>();
            //foreach (var item in query)
            //{
            //    list.Add(new MenuManager()
            //    {
            //        MenuID = item.MenuID,
            //        MenuName = item.MenuName,
            //        MenuDo = item.MenuDo,
            //        Icon = item.Icon
            //    });
            //}
            //param.listMenuManagers = list;
        }
    }
}
